<template>
	<view class="container">
		<view class="header">
			<image src="../../static/head_icon.png" mode=""></image>
			<text>tom</text>
		</view>
		<view class="body">
			<view class="entry-item">
				<image src="../../static/UserInfo.png" mode=""></image>
				<text>个人信息</text>
			</view>
			<view class="entry-item">
				<image src="../../static/purchaseorder.png" mode=""></image>
				<text>订单列表</text>
			</view>
			<view class="entry-item">
				<image src="../../static/modify-password.png" mode=""></image>
				<text>修改密码</text>
			</view>
			<view class="entry-item">
				<image src="../../static/yijianfankui.png" mode=""></image>
				<text>意见反馈</text>
			</view>
		</view>
		<button style="margin: 10px;" type="primary">退出</button>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				userInfo: {
					icon: '',
					name: ''
				}

			}
		},
		methods: {

		}
	}
</script>

<style>
	.container {
		padding: 20px;
		font-size: 14px;
		line-height: 24px;
	}
	.header{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.header image{
		width: 50px;
		height: 50px;
		border-radius: 50%;
		margin: 20px;
	}
	.body .entry-item{
		display: flex;
		flex-direction: row;
		align-items: center;
		border-top: 1px solid #333;
	}
	.body .entry-item:last-child{
		border-bottom: 1px solid #333;
	}
	.body .entry-item image{
		width: 30px;
		height: 30px;
		margin: 10px;
	}
</style>